﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LeMigue.TeamPortal.Base.Biz.Interface;
using LeMigue.Scrum.Iterface.Model;
using System.Web;
using System.DirectoryServices.AccountManagement;

namespace LeMigue.TeamPortal.Base.Biz.Implement
{
    public class CurrentUser : ICurrentUser
    {
        public User GetUser(HttpContext context)
        {
            return new User(UserPrincipal.Current.DisplayName);
        }
    }
}
